package com.example.springback.mapper;

import com.example.springback.domain.Notice ;

import java.util.List;

/**
* @author lenovo
* @description 针对表【notice】的数据库操作Mapper
* @createDate 2025-04-18 15:49:26
* @Entity generator.domain.Notice
*/
public interface NoticeMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Notice record);

    int insertSelective(Notice record);

    Notice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Notice record);

    int updateByPrimaryKey(Notice record);

    List<Notice> selectAll(Notice notice);

    Notice selectByDateAndTitle(String publishTime, String title);

    List<Notice> selectTen(String noticeType);
}
